<?php

/**
 * Coords form.
 *
 * @package    form
 * @subpackage t_coords
 * @version    SVN: $Id: sfPropelFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class CoordsForm extends BaseCoordsForm
{
  public function configure()
  {
  	unset($this['created_at'], $this['updated_at']);
  	
  	$this->widgetSchema['coord_x']     = new sfWidgetFormInput();
  	$this->widgetSchema['coord_y']     = new sfWidgetFormInput();
  	$this->widgetSchema['use_case_id'] = new sfWidgetFormInputHidden();
  	
  	
  	$this->validatorSchema['coord_x'] = new sfValidatorNumber();
  	$this->validatorSchema['coord_y'] = new sfValidatorNumber();
    $this->validatorSchema['coord_y'] = new sfValidatorInteger();  	  	
  }
}
